<section id="slider">
  <div id="layerslider-container-fw">
    <div id="layerslider"
      style="width: 100%; height: 300px; margin: 0px auto;">
      <?php foreach ($slideshows as $slideshow) {?>
      <div class="ls-layer"
        style="slidedirection: top; slidedelay: 5000; durationin: 1500; durationout: 1500; easingin: easeInOutQuint; easingout: easeInOutQuint; delayin: 0; delayout: 500; transition3d: all;">
  
        <img alt="layer slider" src="<?php echo Yii::app()->baseUrl . '/upload/slideshow/thumbs_1060x300/' . $slideshow->getSlideshowFile($slideshow->id, '1060', '300') ?>" class="ls-bg"> 
        <img alt="layer slider" class="ls-s-1" src="<?php echo Yii::app()->baseUrl . '/upload/slideshow/thumbs_1060x300/' . $slideshow->getSlideshowFile($slideshow->id, '1060', '300') ?>" width="1060px" height="300px"
          style="position: absolute; top: 0px; left: 0px; slidedirection: top; durationin: 1500; durationout: 1500; easingin: easeInOutQuint; easingout: easeInOutQuint; delayin: 0; delayout: 0; showuntil: 0;">
        <p class="ls-s-1 text1"
          style="position: absolute; top: 200px; left: 600px; slidedirection: right; durationin: 2500; durationout: 1500; easingin: easeInOutQuint; easingout: easeInOutQuint; delayin: 0; delayout: 0; showuntil: 0; width: 400px; background: #333334; color: #ffffff; padding: 10px">
          <?php
            if (Yii::app()->session['language'] == 'en')
              echo $slideshow->description_en;
            else
              echo $slideshow->description_vi; 
          ?>
        </p>
      </div>
      <?php } ?>
    </div>
  </div>
</section>